package com.cooperate.fly.mapper;

import com.cooperate.fly.bo.Post;
import com.cooperate.fly.bo.PostWithBLOBs;
import com.cooperate.fly.datasource.SqlMapper;


@SqlMapper
public interface PostMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PostWithBLOBs record);

    int insertSelective(PostWithBLOBs record);

    PostWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PostWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(PostWithBLOBs record);

    int updateByPrimaryKey(Post record);
}